package com.system.model.mind;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.system.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 测评题报告
 * </p>
 *
 * @author system
 * @since 2024-04-09
 */
@Data
@ApiModel(description = "测评题报告")
@TableName("report")
//@EqualsAndHashCode(callSuper = false)
public class Report extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
//      @TableId(value = "id", type = IdType.AUTO)
//    private Integer id;

    /**
     * openid
     */
    @ApiModelProperty(value = "微信用户id")
    @TableField("applet_user_id")
    private String appletUserId;

    /**
     * 心理测评id
     */
    @ApiModelProperty(value = "心理测评id")
    @TableField("topicId")
    private Integer topicid;

    /**
     * 0：为收费，1：为免费
     */
    @ApiModelProperty(value = "0：为收费，1：为免费")
    @TableField("charge")
    private Integer charge;

    /**
     * 分数
     */
    @ApiModelProperty(value = "分数")
    @TableField("number")
    private Integer number;

    /**
     * 价格
     */
    @ApiModelProperty(value = "价格")
    @TableField("price")
    private BigDecimal price;

    /*
     * 分类Id
     */
    @ApiModelProperty(value = "分类名称")
    @TableField("sortName")
    private String sortName;

    /**
     * 开始时间
     */
//    private LocalDateTime createTime;
//
//    /**
//     * 更新时间
//     */
//    private LocalDateTime updateTime;


}
